import { Alova } from '@/utils/http/alova/index';

//获取table
export function getVip(params: any) {
  return Alova.Post('/admin/vip', params);
}

export function putVip(params: any) {
  return Alova.Put('/admin/vip', params);
}

export function patchVip(params: any) {
  return Alova.Patch('/admin/vip', params);
}

export function getVipInfo(id: number) {
  return Alova.Get('/admin/vip/' + id);
}

export function deleteVip(id: number) {
  return Alova.Delete('/admin/vip/' + id);
}
